package cn.kp.learning.dao;

import cn.kp.learning.model.CoreUserOrg;
import cn.kp.learning.model.CoreUserOrgExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CoreUserOrgDao {
    int countByExample(CoreUserOrgExample example);

    int deleteByExample(CoreUserOrgExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CoreUserOrg record);

    int insertSelective(CoreUserOrg record);

    List<CoreUserOrg> selectByExample(CoreUserOrgExample example);

    CoreUserOrg selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CoreUserOrg record, @Param("example") CoreUserOrgExample example);

    int updateByExample(@Param("record") CoreUserOrg record, @Param("example") CoreUserOrgExample example);

    int updateByPrimaryKeySelective(CoreUserOrg record);

    int updateByPrimaryKey(CoreUserOrg record);
}